// import { MAIN_COLOR } from '@/constant'
// import { getItem } from '@/utils/storage'
export default {
  language: state => state.app.language,
  sidebarOpened: state => state.app.sidebarOpened,
  mainColor: state => state.theme.mainColor,
  token: state => state.user.token,
  cssVar: state => {
    return {
      ...state.theme.variables
    }
  }
}